package com.interview.one.model;

import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "order_goods")
public class OrderGoods {
    @Id
    private Integer id;

    @Column(name = "goods_id")
    private Integer goodsId;

    @Column(name = "goods_desc")
    private String goodsDesc;

    @Column(name = "goods_icon")
    private String goodsIcon;

    @Column(name = "goods_price")
    private String goodsPrice;

    @Column(name = "goods_count")
    private Integer goodsCount;

    @Column(name = "goods_sku")
    private String goodsSku;

    @Column(name = "order_id")
    private Integer orderId;
}